<?php if (!defined('THINK_PATH')) exit();?><!DOCTYPE html>
<html>
<head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
    <meta charset="utf-8">
    <meta http-equiv="X-UA-Compatible" content="IE=Edge,chrome=1">
    <meta http-equiv="X-UA-Compatible" content="IE=Edge">
    <title>大旅通-旅游交易系统</title>
    <link href="/Public/css/sfpc_base.css" rel="stylesheet" type="text/css">
    <link href="/Public/css/indexStyle.css?v=1" rel="stylesheet" type="text/css">
    <link rel="stylesheet" href="/Public/css/redundant.css">
</head>
<body style="background: #FFF; padding-bottom:20px;">
<ul class="sideBtn tf" style="z-index:10000;">
    <li class='sideLi' style="position:relative;">
        <div class="sideRt">
            <a class="iconfont"
               style="display: block;height:40px; background: #2095ff url('http://cdn.lydlr.com/public/images/icon.png') no-repeat scroll 7px 7px;"></a>
        </div>
        <div class="sideLeft er"
             style="position: fixed; width: 143px; height: 158px; right: 8px; background: url('http://cdn.lydlr.com/public/images/er1.png') no-repeat scroll;"></div>
    </li>
    <li class="sideLi" style="position:relative;">
    <li class="sideLi" style="position:relative;">
        <div class="sideRt">
            <div class="Phonebtn"></div>
        </div>
        <div class="sideLeft">客服电话：010-85625636<span class="sj"></span></div>
    </li>
</ul>

<div class="head">
    <div class='headcont'>
        <a class="left log"> </a>

        <div class="right headNav">
            <a href="javascript:void(0)" class='right indexPage'>首页</a>
        </div>
    </div>
</div>

<div class="bannerCont">
    <ul class="bannerList">
        <li><img src="http://cdn.lydlr.com/public/images/banner1.jpg"></li>
    </ul>
    <div class="main ovh">

        <div class="loginCont">
            <div class="flterBg">
                <div class="by_bg"></div>
            </div>
            <div class="loginSort ovh pr by_loginSort">
                <div class="fl denglu zhanghao_denglu">账号密码登录</div>
            </div>

            <div class="sortCont pr fs12" style="display:block;">
                <form enctype="multipart/form-data" id="login" target="loginiframe" name="login" action=""
                      method="post">
                    <div class="loginDiv" style="left: 0px;">
                        <input type="text" class="loginInput tf loginUser userloginname"
                               autocomplete="on" style="border:#adadad 1px solid; background-color:#FFF;" placeholder="请输入用户名">
                    </div>
                    <div class="pr mt30">
                        <div class="loginDiv" style="width: 195px; margin-top: 13px; left: 0px;">
                            <input type="password" class="loginInput tf loginPass userloginpwd"
                                   style="border:#adadad 1px solid; background-color:#FFF;" autocomplete="off" placeholder="请输入密码">
                        </div>
                    </div>
                    <div id="msgInfo" class="error" style="color:#ea6644"></div>
                    <input type="button" value="登 录" class="btn oringe loginSub fs16 tf" id="loginForm">
                    <input type="hidden" value="<?php echo U('Manager/login');?>" id="loginsbumit"/>
                </form>
            </div>
        </div>
    </div>
</div>
<div class="clearfix"></div>
<div style="width: 100%;text-align: center;margin-top: 60px;">
    <?php echo ($copyRight); ?>
</div>

<script type="text/javascript" src="http://libs.baidu.com/jquery/1.11.1/jquery.min.js"></script>
<script src="/Public/js/login.js?v=1"></script>
<script src="http://cdn.lydlr.com/public/js/common.js"></script>

<script type="text/javascript">
    $(".userloginname").focus();
    function luoboB(n) {
        var bannerList = $('.bannerList').find("li");
        bannerList.eq(0).addClass('active');
        var i = bannerList.length, j = n;
        if (i > 1) {
            var bannerTimer = setInterval(function () {
                if (j >= i) j = 0;
                bannerList.removeClass('active').eq(j).addClass('active');
                j++;
            }, 5000)
        }
    }

    $(function () {
        luoboB(1);
        $('input[type="text"]').focus(function () {
            $(this).css('borderColor', '#999');
        });
        $('input[type="text"]').blur(function () {
            $(this).css('borderColor', '#ddd');
        });
        $('.loginInput').on('keydown', function () {
            $(this).siblings('.promptInput').hide();
            if ($(this).siblings('.fgray3').length > 0)
                $(this).next().hide();
        });
        $('.loginInput').on('focus', function () {
            if ($(this).siblings('.promptInput').length > 0 && $(this).siblings('.promptInput').is(':visible')) {
                $(this).siblings('.fgray3').hide();
                $(this).val('')
            }
        });
    });


    $(".indexPage").click(function(){
        var url = window.location.hostname;

        if(url == 'demo.dalvu.com'){
            window.location.href = "http://demo.lydlr.com";
        }else if(url == 'tong.dalvu.com'){
            window.location.href = "http://lydlr.com";
        }else if(url == 'tianjin.tong.dalvu.com'){
			window.location.href = "http://tianjin.dalvu.com";
		}else if(url == 'hebei.tong.dalvu.com'){
            window.location.href = "http://hebei.dalvu.com";
        }else if(url == 'tangshan.tong.dalvu.com'){
            window.location.href = "http://tangshan.dalvu.com";
        }
    })
</script>
</body>
</html>